SftTree/OCX 7.0

SftTreeItem.PrevShown Property

Softel vdm, Inc.

Returns the index of the previous visible item.

Syntax       

Get

VB.NET

ItemIndex = object.PrevShown  As Integer

VB

ItemIndex = object.PrevShown  As Long

C#.NET

int ItemIndex = object.PrevShown;

VC++

long ItemIndex = object->PrevShown;
long ItemIndex = object->GetPrevShown();

C

HRESULT object->get_PrevShown(long* ItemIndex);

Delphi

ItemIndex := object.PrevShown   : Integer;

object

A SftTreeItem object.

ItemIndex

Returns the index of the previous visible item.  -1 is returned, if no item is found.

Comments

The PrevShown property returns the index of the previous visible item.

Dependent items of a collapsed parent item are skipped using this method.

Use Items.FirstShown, Item.NextShown, Items.LastShown to retrieve information about item visibility.

See Also  SftTreeItem Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com